.PHONY:mysql
mysql:mysql.cc
	g++ -o $@ $^ -std=c++11 -L /usr/lib/x86_64-linux-gnu/ -lmysqlclient

.PHONY:json
json:jsoncpp.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp

.PHONY:ws_server
ws_server:ws_server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -lboost_system

.PHONY:clean
clean:
	rm -rf ws_server json mysql